package com.bawei.login.api

import com.bawei.http.ApiBaseResponse
import com.bawei.login.entity.RequestEntity
import com.bawei.login.entity.UserEntity
import retrofit2.http.Body
import retrofit2.http.POST
import retrofit2.http.Query

interface LoginApiServer {

    @POST("/user/login")
    suspend fun userLogin(@Query("username") userName: String, @Query("password") password: String): ApiBaseResponse<UserEntity>


}